package kind;

public class Zhuche {
    public static void main(String[] args) {

        Vehicle[] vehicles = new Vehicle[4];


        vehicles[0] = new Vehicle("Toyota", "Camry");
        vehicles[1] = new Vehicle("Giant", "Escape");
        vehicles[2] = new Vehicle("Honda", "Accord");
        vehicles[3] = new Vehicle("Trek", "FX");


        for (Vehicle vehicle : vehicles) {
            vehicle.drive();
        }
    }
}

